using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Text;
using System.Windows.Forms;

namespace RibbonEndUserDesignerDemo
{
    public  partial class Splash : Form
    {
        public Splash()
        {
            InitializeComponent();
        }
        delegate void _locCLoseme();
        public void CloseMe()
        {
               if (this.InvokeRequired)
            {
                _locCLoseme d = CloseMe;
                Invoke(d);
            }
            else
            {
                   this.Close();
             }
        }
    }
}